<template>
	<up-popup :show="show" mode="center" @close="show = false" :safeAreaInsetBottom="false">
		<view class="popup">
			<image class="popup-top-bj" src="@/static/image/popup-bj.png"></image>
			<view class="popup-content">
				<view class="content">
					<image mode="widthFix" src="@/static/image/restricted.png"></image>
					<view class="desc">
						平台限制接单，请<span>联系客服</span>
					</view>
				</view>
				<up-button @click="handleSumbit" type="primary" text="联系客服"></up-button>
			</view>
		</view>
	</up-popup>
</template>

<script setup>
	import {
		ref
	} from 'vue'
	const show = ref(false)
	const handleClick = () => {
		show.value = true
	}
	defineExpose({
		handleClick
	})
	const handleSumbit = () => {}
</script>

<style lang="scss" scoped>
	.popup-content {
		.content {
			margin: 30rpx 0;
			text-align: center;
			image {
				width: 280rpx;
			}
			.desc {
				font-family: PingFang SC, PingFang SC;
				font-weight: 400;
				font-size: 32rpx;
				color: #2C1F21;
				line-height: 38rpx;
				span {
					color: #F1692B;
					margin-left: 10rpx;
					border-bottom: 1px solid;
				}
			}
		}
	}
</style>